//
//  ZFGoodCollectionViewCell.m
//  外星球生活圈
//
//  Created by MR.ZHOU on 15/8/15.
//  Copyright (c) 2015年 MR.ZHOU. All rights reserved.
//

#import "ZFGoodCollectionViewCell.h"

@interface ZFGoodCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLable;
@property (weak, nonatomic) IBOutlet UILabel *detilLabel;
@property (weak, nonatomic) IBOutlet UIImageView *imageIView;
@property (weak, nonatomic) IBOutlet UILabel *juliLabel;

@end
@implementation ZFGoodCollectionViewCell

- (void)awakeFromNib {
   
//    
//    ZFGoodCollectionViewCell *cell = [[[NSBundle mainBundle]loadNibNamed:@"ZFGoodCollectionViewCell" owner:nil options:nil] lastObject];
//    
    
}
-(void)setModel:(FamousModel *)model{
    _model = model;
    
    _titleLable.text= model.name;
    
    _detilLabel.text = model.intro;
    
    _imageIView.image = [UIImage imageNamed:model.cover];
    
    _juliLabel.text = model.description;
    
    
}
@end
